import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import set from '@dfeidao/atom-web/local/set';
import nodejs from '@dfeidao/atom-web/msg/nodejs';
import render from '@dfeidao/atom-web/render/render';
import p017 from './p017';
export default async function a011(fd: IFeidaoAiBrowserComponent, a: string[]) {
	// todo 显示隐患源
	let s = '';

	for (let i = 0; i < a.length; i++) {
		const c = eval(a[i]);
		if (a.length - i > 1) {
			s = s + c.hidden_source + ',';
		} else {
			s = s + c.hidden_source;
		}
	}
	console.info(s);
	set(fd, 's', s);
	render(fd, a, p017, 'p017', 'inner');
}
// as { _id: string, hidden_source: string, hidden_name: string, assess_level: string }
